import request from '../utils/request'

export const getOrder = ()=> {
    return request({
        url:'/order/list',
        method:'GET'
    })
}
export const getStateOrder = (data:any)=> {
    return request({
        url:'/order/statusList',
        method:'GET',
        data
    })
}
export const changeOrder = (data:any)=> {
    return request({
        url:'/order/updateStatus',
        method:'GET',
        data
    })
}